/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.bht.esa.weather.model;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Repräsentiert eine Wettervorhersage
 * 
 * @author Andreas Goese
 * @author Sven Höche
 */

@XmlRootElement
public class Forecast implements Serializable{
    private static final long serialVersionUID = 1234567891281000003L;
    
    private long utcTimestamp;
    private long localTimestamp;
    private double predictionPeriod;
    
    private int weatherCode;
    private String weatherTxt;
    private double rainChance;
    
    private double windDirection;
    private String windDirectionText;
    private double windSpeed;
    
    private double minTemp;
    private double maxTemp;

    public Forecast() {
    }

    public long getUtcTimestamp() {
        return utcTimestamp;
    }

    public void setUtcTimestamp(long utcTimestamp) {
        this.utcTimestamp = utcTimestamp;
    }

    public long getLocalTimestamp() {
        return localTimestamp;
    }

    public void setLocalTimestamp(long localTimestamp) {
        this.localTimestamp = localTimestamp;
    }

    public double getPredictionPeriod() {
        return predictionPeriod;
    }

    public void setPredictionPeriod(double predictionPeriod) {
        this.predictionPeriod = predictionPeriod;
    }

    public int getWeatherCode() {
        return weatherCode;
    }

    public void setWeatherCode(int weatherCode) {
        this.weatherCode = weatherCode;
    }

    public String getWeatherTxt() {
        return weatherTxt;
    }

    public void setWeatherTxt(String weatherTxt) {
        this.weatherTxt = weatherTxt;
    }

    public double getRainChance() {
        return rainChance;
    }

    public void setRainChance(double rainChance) {
        this.rainChance = rainChance;
    }

    public double getWindDirection() {
        return windDirection;
    }

    public void setWindDirection(double windDirection) {
        this.windDirection = windDirection;
    }

    public String getWindDirectionText() {
        return windDirectionText;
    }

    public void setWindDirectionText(String windDirectionText) {
        this.windDirectionText = windDirectionText;
    }

    public double getWindSpeed() {
        return windSpeed;
    }

    public void setWindSpeed(double windSpeed) {
        this.windSpeed = windSpeed;
    }

    public double getMinTemp() {
        return minTemp;
    }

    public void setMinTemp(double minTemp) {
        this.minTemp = minTemp;
    }

    public double getMaxTemp() {
        return maxTemp;
    }

    public void setMaxTemp(double maxTemp) {
        this.maxTemp = maxTemp;
    }
    
    
}
